package cn.smartaccount.demo.common.util;

import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;

import java.util.concurrent.TimeUnit;

/**
 * @author xuluquan
 * @date 2023-02-14 15:57
 */
public class CacheUtil {

    public Cache<String, Boolean> lockDataCache = CacheBuilder.newBuilder().expireAfterWrite(3, TimeUnit.SECONDS).build();
}
